package com.heima.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.pojo.ApUserRealname;
import com.heima.model.user.dto.AuthDto;
import org.springframework.stereotype.Service;

/**
 * Created by ZYJ on 2021/5/24 21:44
 */

public interface ApUserRealnameService extends IService<ApUserRealname> {

    /**
     * 根据状态查询需要认证
     * @param dto
     * @return
     */
    ResponseResult loadListByStatus(AuthDto dto);

    /**
     * 审核用户
     * @param authDto
     * @param status
     * @return
     */
    ResponseResult updateStatusById(AuthDto authDto, Short status);
}
